package com.quanshu.exchange.support.entity;

import java.math.BigDecimal;
import java.math.RoundingMode;

/**
 * 账户余额
 * Created by xiniu003 on 2018/1/25.
 */

public class AccountBalanceEntity {



        /**
         * code : 1
         * msg : 余额获取成功
         * data : {"score":9668,"GP":"0"}
         */


        /**
         * score : 9668   牛积分
         * GP : 0           GP
         */

        private double score;
        private double GP;
        private double ticket;
        private double gold_bean;

        public double getNiupoint() {
                return niupoint;
        }

        public void setNiupoint(double niupoint) {
                this.niupoint = niupoint;
        }

        private double niupoint;

        public void setPayable_amount(double payable_amount) {
                BigDecimal bigDecimal=new BigDecimal(payable_amount).setScale(2, RoundingMode.UP);
                this.payable_amount = bigDecimal.doubleValue();
        }

        public double getPayable_amount() {
                return payable_amount;
        }

        private double payable_amount;

        public double getScore() {
                return score;
        }

        public void setScore(double score) {
                this.score = score;
        }

        public double getGP() {
                return GP;
        }

        public void setGP(double GP) {
                this.GP = GP;
        }

        public double getTicket() {
                return ticket;
        }

        public void setTicket(double ticket) {
                this.ticket = ticket;
        }

        public double getGold_bean() {
                return gold_bean;
        }

        public void setGold_bean(double gold_bean) {
                this.gold_bean = gold_bean;
        }
}
